package com.xunlai.infra.permission.business.vo.memberships;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author liang
 * @date 8/30/23 9:07 PM
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MembershipsGoodsListVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -7829747378379056402L;

    private Long id;

    private Integer timeLimit;

    private Integer limitUnit;

    private String limit;

    private BigDecimal originalPrice;

    private BigDecimal price;

    private Long createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;
}
